﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Admin/ContentFrame.Master" AutoEventWireup="true"
    CodeBehind="ChangePassword.aspx.cs" Inherits="ETD.WebManagement.Admin.Account.ChangePassword" %>

<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="rgUsers" ContentPlaceHolderID="MainContent" runat="server">
    <%@ register assembly="Telerik.Web.UI" namespace="Telerik.Web.UI" tagprefix="telerik" %>
    <%@ register assembly="ETD.WebManagement" namespace="ETD.WebManagement.Controls" tagprefix="cc1" %>
    <telerik:RadAjaxPanel ID="pnl" runat="server">
              <telerik:RadDockLayout ID="RadDockLayoutOut" runat="server">
            <telerik:RadDockZone ID="RadDockZoneOut" runat="server" Orientation="Vertical" BorderWidth="0"
                Resizable="true">
                <telerik:RadDock ID="RadDockOut" runat="server" Title="修改密码：" Width="100%" EnableDrag="false"
                    DockHandle="TitleBar" DockMode="Docked" EnableAnimation="true" EnableRoundedCorners="false">
                    <ContentTemplate>
                         <div class="edit_form_container width500">
        
                        <div style="height: 6px;">
                        </div>
                        <div>
                            <table width="100%" cellpadding="2px" border="0">
                                <tr>
                                    <td align="right" width="100px">
                                        <asp:Label ID="lblUserName" runat="server" Text="账号：" CssClass="fieldlabel" />
                                    </td>
                                    <td align="left" valign="middle">
                                        <telerik:RadTextBox ID="txtUserName" runat="server" ReadOnly="true">
                                        </telerik:RadTextBox>
                                    </td>
                                    <td align="right">
                                        &nbsp;
                                    </td>
                                    <td align="left">
                                        &nbsp;
                                    </td>
                                    <td rowspan="6">
                                        &nbsp;
                                    </td>
                                </tr>
                                <tr>
                                    <td align="right">
                                        <asp:Label ID="lblFirstName" runat="server" Text="旧密码：" CssClass="fieldlabel" />
                                    </td>
                                    <td align="left">
                                        <telerik:RadTextBox ID="txtOldPassword" runat="server" TextMode="Password">
                                        </telerik:RadTextBox>
                                        <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ForeColor="Red"
                                            ErrorMessage="*旧密码不能为空" ControlToValidate="txtOldPassword"></asp:RequiredFieldValidator>
                                    </td>
                                    <td align="right">
                                        &nbsp;
                                    </td>
                                    <td align="left">
                                        &nbsp;
                                    </td>
                                </tr>
                                <tr>
                                    <td align="right">
                                        <asp:Label ID="lblLastName" runat="server" Text="新密码：" CssClass="fieldlabel" />
                                    </td>
                                    <td align="left">
                                        <telerik:RadTextBox ID="txtNewPassword" runat="server" TextMode="Password">
                                        </telerik:RadTextBox>
                                        <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ForeColor="Red"
                                            ErrorMessage="*新密码不能为空" ControlToValidate="txtNewPassword"></asp:RequiredFieldValidator>
                                    </td>
                                    <td align="right">
                                        &nbsp;
                                    </td>
                                    <td align="left">
                                        &nbsp;
                                    </td>
                                </tr>
                                <tr>
                                    <td align="right">
                                        <asp:Label ID="lblPassword" runat="server" Text="确认密码：" CssClass="fieldlabel" />
                                    </td>
                                    <td align="left">
                                        <telerik:RadTextBox ID="txtNewPassword2" runat="server" TextMode="Password">
                                        </telerik:RadTextBox>
                                        <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ForeColor="Red"
                                            ErrorMessage="*确认密码不能为空" ControlToValidate="txtNewPassword2"></asp:RequiredFieldValidator>
                                        <asp:CompareValidator ID="CompareValidator1" runat="server" ForeColor="Red" ErrorMessage="*密码不一致"
                                            ControlToCompare="txtNewPassword" ControlToValidate="txtNewPassword2"></asp:CompareValidator>
                                    </td>
                                    <td align="right">
                                        &nbsp;
                                    </td>
                                    <td align="left">
                                        &nbsp;
                                    </td>
                                </tr>
                                <tr>
                                    <td align="right">
                                        &nbsp;
                                    </td>
                                    <td align="left">
                                        &nbsp;
                                    </td>
                                    <td align="right">
                                        &nbsp;
                                    </td>
                                    <td align="left">
                                        &nbsp;
                                    </td>
                                </tr>
                                <tr>
                                    <td align="right">
                                        &nbsp;
                                    </td>
                                    <td align="left">
                                        &nbsp;
                                    </td>
                                    <td align="right">
                                    </td>
                                    <td align="left">
                                    </td>
                                </tr>
                                <tr>
                                    <td colspan="5" align="center">
                                        <asp:Label ID="lblValidationError" runat="server" Visible="true" CssClass="validationErrorMessage"></asp:Label>
                                    </td>
                                </tr>
                                <tr>
                                    <td colspan="5" align="Center">
                                        <br />
                                        <telerik:RadButton ID="rbtnUpdate" Text="修改" runat="server" CommandName="Update"
                                            TabIndex="15" OnClick="rbtnUpdate_Click">
                                        </telerik:RadButton>
                                        <br />
                                        <br />
                                    </td>
                                </tr>
                            </table>
                        </div>
                             </div>
                    </ContentTemplate>
                </telerik:RadDock>
            </telerik:RadDockZone>
        </telerik:RadDockLayout>
    </telerik:RadAjaxPanel>
</asp:Content>
